package com.pgytesting.secondhandcar.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author : frosty0804@gmail.com
 * @version : v1.0
 * @projectName : secondhandcar
 * @className : SMSCode
 * @description : TODO(短信验证码)
 * @date : 2019/8/15 17:30
 */
@Data
public class SMSCode {

    private String smsCode;

    private Long currentTime;

    @NotNull(message = "请输入手机号码")
    @Length(min = 11,max = 11,message = "手机号码不正确，请重新输入")
    private String phoneNumber;


}
